package com.spring.bean.person;

import java.sql.Timestamp;
import com.spring.annotation.entity.*;
import com.spring.bean.Entity;

@Table(name="blog_comment")
public class BlogComment extends Entity {

	private Integer id;  // 
	private Integer blog_id;  // 
	private Integer pid;  // 
	private Integer pb_id;  // 
	private String content;  // 
	private Timestamp comm_time;  // 

	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id = id;
	}

	public Integer getBlog_id(){
		return blog_id;
	}
	public void setBlog_id(Integer blog_id){
		this.blog_id = blog_id;
	}

	public Integer getPid(){
		return pid;
	}
	public void setPid(Integer pid){
		this.pid = pid;
	}

	public Integer getPb_id(){
		return pb_id;
	}
	public void setPb_id(Integer pb_id){
		this.pb_id = pb_id;
	}

	public String getContent(){
		return content;
	}
	public void setContent(String content){
		this.content = content;
	}

	public Timestamp getComm_time(){
		return comm_time;
	}
	public void setComm_time(Timestamp comm_time){
		this.comm_time = comm_time;
	}


	@Override
	public String toString(){
		return "BlogComment ["+
			"id="+id+", blog_id="+blog_id+", "+
			"pid="+pid+", pb_id="+pb_id+", "+
			"content="+content+", comm_time="+comm_time+", "+
			"toString()="+super.toString() +"]";
	}
}